hipreme_engine ~master (2025-09-27T13:37:43Z)
Dub
Repo
LoadingBar
hip
game2d
loading_bar
Undocumented in source.
class
LoadingBar {
import
hip
.
api
;
;
int
x
;
int
y
;
HipColor
fgColor
;
HipColor
bgColor
;
this
(int width, int height, int borderSize, HipColor fgColor, HipColor bgColor);
static
LoadingBar
defaultSize
(Viewport vp);
void
setPosition
(int x, int y);
void
setPercentage
(float percentage);
void
render
();
}
Constructors
this
this
(int width, int height, int borderSize, HipColor fgColor, HipColor bgColor)
Undocumented in source.
Members
Functions
render
void
render
()
Undocumented in source. Be warned that the author may not have intended to support it.
setPercentage
void
setPercentage
(float percentage)
Percentage must be a value between 0 and 1
setPosition
void
setPosition
(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
defaultSize
LoadingBar
defaultSize
(Viewport vp)
bgColor
HipColor
bgColor
;
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
fgColor
HipColor
fgColor
;
Undocumented in source.
x
int
x
;
y
int
y
;
Undocumented in source.
Meta
Source
See Implementation
hip
game2d
loading_bar
classes
LoadingBar